package com.origin.chaos.security.bean.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author: tao.ding
 * @date 2021-07-16
 */
@Data
public class ResetPsdVo {

    @ApiModelProperty(value = "邮箱", required = true)
    @NotBlank(message = "邮箱必填")
    private String email;

    @ApiModelProperty(value = "重置密码验证码", required = true)
    @NotBlank(message = "重置密码验证码必填")
    private String resetPsdCode;

    @ApiModelProperty(value = "用户登录密码", required = true)
    @NotBlank(message = "登录密码必填")
    @Length(min = 6, message = "密码不小于6位")
    private String password;

}
